package com.alibaba.citrus.cr.platform.enhance.repository;

import java.util.List;

import com.alibaba.cz.base.tool.page.PageResult;

import com.epoch.app.crplatformenhance.dto.request.CustomerBatchRequest;
import com.epoch.app.crplatformenhance.dto.request.CustomerRequest;
import com.epoch.app.crplatformenhance.dto.request.QueryCustomerRequest;
import com.epoch.app.crplatformenhance.sdo.CustomerSDO;

public interface CustomerRepository {

    /**
     * 查询客户
     * @param customerRequest
     * @return
     */
    CustomerSDO query(CustomerRequest customerRequest);

    /**
     * 批量查询客户
     * @return
     */

    List<CustomerSDO> batchQuery(CustomerBatchRequest request);
    /**
     * 分页查询客户
     * @param request
     * @return
     */
    PageResult<List<CustomerSDO>> pageQuery(QueryCustomerRequest request);
}
